The online racing simulator
Searching in All forums
(344 results)
Andy King
S3 licensed
Hi Gai,
Quote :You can update your stored value wiith this SQL STATEMENT in storedvalue.dbs

Code:
UPDATE fi_stored SET key = LOWER(key)

How does a driver with a UserName like mine "Andy King" show Stored Values then. Coss using this...
SetCurrentPlayerVar("Points_Laps",GetStoredValue($UserName . "_Points_Laps"));
because the stored value is andy king_Points_Laps and $UserName = GetCurrentPlayerVar("UserName"); = Andy King so its searching the database for Andy King_Points_Laps which it will never find coss Lapper saved it as andy king_Points_Laps. The UserName has to be stored as Driver has it written to make it unique surely.

Quote :Update 3: Got the same problem I had in previous version, I cannot connect a locally running Lapper to my Servers on my host. I tried $TCPmode = false/true but neither will connect.

Does your host have a firewal for external incoming packet? Try to ask to an 500Servers Admin

I can connect other stuff like Event Calendar, Lapper v5.8.3.0 but not this version.

Thanks for your time, fire up MSN please
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
This looks nice but jury is still out on what we discussed. Thanks for SpeedTraps and $NumP already using them locally .

I have come across a problem straight away. I do not have console access on my hosts server. If I upload LFSLapper.exe and start it I cannot get it to go into Standby Mode as cannot type "start 0" "start 1" etc etc into the console. I have been running it locally to test it this evening and am happy to upload but no point as I cannot start it.

Maybe you could allow |start at the end of each server line in LFSServers.cfg like we had AutoStart in previous release. Then starting the LFSLapper.exe would then start each server in LFSServer.cfg into StandBy Mode which then enables me to type !start into chat box on each LFS Server to get Lapper running.

As it stands I cannot upload and get it running on any of my servers.

Hope this makes sense.

Update 1: I have downloaded the databases from v5.8.3.1 to my local machine to run with v5.8.3.2 but there seems to be an issue with capitalised letters in Username for Stored Values. If I try to display anyones points info and their name has capitalised letters like mine "Andy King" it shows nothing. If I change my Username to andy king in database all info is shown correctly. If you need more info gai contact me via MSN. All stored values are saved with UserName in lowercase so when a driver tries to see any data and his UserName has capitalised letters in it he doesn't see the data as his UserName doesn't correspond with any UserName in database. Hope this helps.

Update 2: Would it be possible to add !msa and !rca so we can send Admin Messages and Race Control Messages to all servers connected to Lapper.exe similar to what you added through console as thats no use to anyone who has thier servers hosted.

Update 3: Got the same problem I had in previous version, I cannot connect a locally running Lapper to my Servers on my host. I tried $TCPmode = false/true but neither will connect.

Right I am off to get my Racing Points system to adjust points dependant on how many drivers start the race
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,

1) Is it possible for me to create list of Drivers like !top but showing there Points instead.

2) Where are the SetStoredValues saved? are they stored in same file as driver PB times etc and how can I view the file, what software will open it in a readable format

3) Can we have a new Event so when a player leaves a race they can only re-join X amount of times less they get spectated and eventually kicked for multiple rejoins similar to what Tim has asked for.

4) The !ban feature needs an update, can we allow the !ban to ban on all servers now 1 instance of Lapper connects to all servers. So basically I type !ban Username 365 and the username gets banned for 365 days on ALL my servers. Lapper takes the command and passes it to every server connected.

5) The Voting System doesn't work at all.

6) Idle Spectate doesn't work in Qualy Mode anymore.

7) Posabs works sometimes but doesn't most of the time.

8) !stats doesn't work anymore.

9) Feature request !msa and !rca like Airio where !msa sends a message to all servers connected to Lapper and !rca sends Race Control message to all servers. Both useful in lots of circumstances especially to warn drivers of Event start times when using multiple servers.

10) Can we dictate per server when server commands are shown like ShowCommands = True/False

Thats it for now. Thanks Gai.
Last edited by Andy King, .
Andy King
S3 licensed
Quote from santeXFz :Done. #801 line that means first code line.

[COLOR=red]Event OnRotateTrack()[/COLOR]
IF ($CurrRotateTrack == "SO6R")
THEN
cmdLFS("/laps 7");
ENDIF

cmdLFS("/msg ^7Trasa pakeista, prasome palaukti !" );
cmdLFS("/msg ^7Dabartine trasa : ^6" . $Curr[COLOR=magenta]Long[/COLOR]RotateTrack);
EndEvent


The word long I think is wrong I reckon.
Andy King
S3 licensed
Hi Gai & Yisc,
Is it possible for me to create list of Drivers like !top but showing there Points instead. Also where are the SetStoredValues saved? are they stored in same file as driver PB times etc and how can I view the file, what software will open it in a readable format? Not Sorted

Can someone explain what function !license has please. Not Sorted

Can someone show me how to add 2 stored items together, like I have Points_Laps and Points_Race as stored values against each drivers UserName but want to display them as 1 set of points added together. Sorted

Thanks
Last edited by Andy King, .
Andy King
S3 licensed
Hi Tim,
Thats exactly what I have already done lol as a work around for now.
Andy King
S3 licensed
Hi Gai & Yisc,
Thats a shame as wanted to allow my Admins to /bam John Doe 365 but is 2 argv's can't be used its inmpossible to have adjustable days.

I have a points system running on AKM Servers now but like Tim would like the new variable so we know how many drivers are starting a race to make race points adjustable. I would like another so lapper knows how many cars are ontrack at anytime on an event like passing a split or finishing a lap.

Thanks Gai program is sweet,
Andy King
S3 licensed
Hi All,
Is it possible to use 2 $argv's in same command, Like....

$argv1 and $argv2 to get 2 inputs from LFS text area, if so how do you do it please.
Andy King
S3 licensed
Quote from Yisc[NL] :Hallo? Are you dutch
Anyway, When running multiple servers you should use one central ban file.
I've got 8 running at the moment (10 again soon) and they are all using the same LFS.exe and ban file. So banned on one servers, means banned on all of them.
No function for Lapper since LFS handles this very nice.

Hi Yisc,
Thats fine if your running locally or your host runs them that way, what about the likes of me who's host runs each instance of LFS seperatly like most hosts do. We need the !ban working so it migrates the /ban Username Days to all servers connected to LFSLapper.
Andy King
S3 licensed
Hi Yisc,
That worked a treat THANKYOU, now all I need to do is work out how to display a table of points in decending order lol.

Thanks
Andy King
S3 licensed
Hi Gai and Yisc,
Need some help with stored values. I would like one of you guys to show me how to retrieve a stored Value, add a number to it then save it back.

So...
Create a UserName's Stored Value = 0
Get the UserName's Stored Value = 0
Then Add = 25
Store UserName's Value

So then....
Get Stored UserName's Value = 25
Then Add = 50
Store UserName's Value

I have tried for hours to work this out, nearly there but cannot get it to add the number, it keeps replacing it in stored value.

Thanks Guys
Andy King
S3 licensed
Hi Gai,
Here is a list of bugs I am finding, will update as I find more...

Voting System
Idle Spectate doesn't work in Qualy Mode
Posabs
!stats

That I can think of at the moment will update as I remember them.

Feature Request: The !ban feature needs an update, can we allow the !ban to ban on all servers now 1 instance of Lapper connects to all servers. So basically I type !ban Username 365 and the username gets banned for 365 days on ALL my servers. Lapper takes the command and passes it to every server connected. Please add this ASAP as we are struggling to keep up.
Last edited by Andy King, .
Andy King
S3 licensed
Thanks Yisc
Andy King
S3 licensed
Hi Gai,

Quote :
CASE "!kick":
IF( UserInGroup( "Admin_2",$userName ) == 1 ) THEN
privMsg( GetCurrentPlayerVar( "NickName" ) . " kick " . GetPlayerVar( $argv, "NickName" ) );
cmdLFS( "/kick " . $argv . " 1" );
ELSE
privMsg( "^6YOU DO NOT HAVE ADMIN STATUS!");
ENDIF
BREAK;

This doesn't seem to work, can someone explain how to correct it.

Feature Request: Can we have a new Event so when a player leaves a race they can only re-join X amount of times less they get spectated and eventually kicked for multiple rejoins.
Last edited by Andy King, .
Andy King
S3 licensed
Hi All,
PlayerVar doesn't work anymore how do I now set Player Variables please. I want to set $PitBoard_1 to No.
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
When you stop a server that LFSLapper is connected to it throws an error but then re-connects. I have attached a log of console messages....
Error 6.txt

Also we need an everyday for registeredschedules. Also how do we use dates now instead of days....

0 = EveryDay
1 = Monday
2 = Tuesday
3 = Wednesday
4 = Thursday
5 = Friday
6 = Saturday
7 = Sunday

While on this subject HH MM SS makes more sense than the way lapper does it at the moment SS MM HH DD MM YYYY IMO anyway its less confusing HH MM SS I am sure and Day DD MM YYYY HH MM SS would be perfect lol.

Quote :RegisterScheduleAction( "0 0 0 0 * * *", SA_mid );
Do this action only the Sunday at 0:00

LOL thats a terrible example which 0 is Sunday lol

OK I worked it out SS MM HH DAY DD MM YYYY

Update: $PosAbs isn't working again, did you get my Forum Private Message about NumToMSH??

Feature Request: Can we use !reload or similar to restart lapper on server your connected to like we can in console with start 1 as most admins don't have access to console when using hosting services. Suppose !start 0 - !start 1 etc etc would be good after eading my own post lol
Last edited by Andy King, .
Andy King
S3 licensed
Quote from ninja469 :It looks like 5.8.2.9 is running in your pic. Did we get 5.830 exe in the download cuz mine says 5.8.2.9 too.

It seems vista x64 has a real problem with this version.
It just wont connect, and don't give any errors, just sits there like this. And yes it is all set correctly in the config files.

Hi,
Try setting $TCPmode = false that sorted mine out.
Last edited by Andy King, .
Andy King
S3 licensed
Quote from Gai-Luron :Drop old DBS before

Can you explain further please.....
Andy King
S3 licensed
Hi Gai,
PB.txt won't import at all now, attached error from console.....

Lapper Error.txt
Lapper Error 2.txt
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
A proper application like a LapperGui.exe that you run perhaps coded in VB or similar that conects to all your servers for editing and administrating like kicking, sending messages etc etc would be soooooo nice lol. We can live in hope lol.

Have to be late afternoon for me testing this connection issue as work nights.

Update: Found the answer Gai, set $TCPmode = false and it connected immediatley.
Last edited by Andy King, .
Andy King
S3 licensed
Hi Guys,
Still no joy as that port was already open here but have no control over it on Server Host which it should be any way.

Join MSN Tim so we can test if you have time.

Update: OK Tim cannot connect to my hosted server either, same error 4 times then quits like its supposed to.
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
Tim has posted his PB.txt file in post above which has 4 times as many drivers in it than mine so better you use that one nice one Tim.

I am having problems connecting to a server thats hosted from a lapper I am running locally. I have entered the servers details including IP address but it tries to connect 4 times then stops. Insim Port, IP, password are all correct and nothing else running on the server like older version of Lapper but refuses to connect. It will connect to my local server fine but not a hosted server via internet.
Last edited by Andy King, .
Andy King
S3 licensed
Quote from Tim NL :Hi,
@ Gai-Luron & Yisc : Thanks for new Version . Great job works fine.

I created a GUI to control your DEDI server with lapper.
Long time ago i maked this for LFSLapper version 5.714.
I changed the the script to fit in LFSLapper Version 5.829.

Its just an extra add-on .
In header of the script is a small install instruction.

PS: Works also with multiple DEDI server's and one lapper ( tested with 2 dedi's and one lapper )

Hi Tim,
Found an error for this gui to work....
in CASE you need 0,0 in brackets like MA_gui(0,0) for it to work.
Andy King
S3 licensed
Hi Gai,
Update: I thought I would add my PB.txt again to create a new database and am getting the error attached below when updating..

SELECT * FROM fi_epb WHERE carName = 'FXR' AND trackName = "AS3" AND userName =
""

Update: Just stripped PB File to just 1 driver and still chucking same error.

Lapper Error.txt
Last edited by Andy King, .
Andy King
S3 licensed
Hi Gai,
I think we have a problem with database. I did as you said and added my PB.txt file thats has 1260 Drivers PB's in it. As soon as I use this database Lapper grinds to a halt, its so slow, takes about 35 seconds from start of lapper to seeing welcome messages.

I tested it with a clean database and it shows welcome message immediatley.
Last edited by Andy King, .
FGED GREDG RDFGDR GSFDG